<template>
    <div>
        <van-nav-bar title="购物车" left-text="返回" left-arrow @click-left="() => { $router.push('/login/a1') }" />
        <van-card price="2.00" title="商品标题" thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg">
            <template #thumb>
                <div class="box">
                    <van-checkbox v-model="checked"></van-checkbox>
                </div>
            </template>
            <template #num>
                <van-stepper v-model="value" theme="round" button-size="22" disable-input />
            </template>
        </van-card>
        <van-submit-bar :price="0" button-text="提交订单" @submit="onSubmit">
            <van-checkbox v-model="checked">全选</van-checkbox>
        </van-submit-bar>
    </div>
</template>

<script setup>

</script>

<style>
.box {
    margin-top: 30px;
}
</style>